<?php
/**
 * @version $Id: admin.php 197 2008-03-01 17:23:36Z mikhail.miguel $
 * @author Takeshi Kuriyama <kuri@keynext.co.jp>
 */

// <--- LANG PROPERTY --->
define ( '_MD_A_D3BLOG_LANG_EDIT','EDIT' );
define ( '_MD_A_D3BLOG_LANG_CATEGORY_MANAGER','CATEGORY MANAGER' );
define ( '_MD_A_D3BLOG_LANG_CATEGORY_LIST','CATEGORY LIST' );
define ( '_MD_A_D3BLOG_LANG_CATEGORY_NAME','CATEGORY NAME' );
define ( '_MD_A_D3BLOG_LANG_CATEGORY_PARENT','PARENT CATEGORY' );
define ( '_MD_A_D3BLOG_LANG_CATEGORY_WEIGHT','WEIGHT' );
define ( '_MD_A_D3BLOG_LANG_CATEGORY_IMAGE','CATEGORY IMAGE' );
define ( '_MD_A_D3BLOG_LANG_REGISTER_ANDOR_EDIT_CATEGORY','REGISTER AND/OR EDIT CATEGORY' );
define ( '_MD_A_D3BLOG_LANG_CATEGORY_GLOBAL','OVERALL CATEGORIES' );
define ( '_MD_A_D3BLOG_LANG_PERMISSION_MANAGER','PERMISSION MANAGER' );
define ( '_MD_A_D3BLOG_LANG_GROUP_NAME','GROUP NAME' );
define ( '_MD_A_D3BLOG_LANG_SELECT_INPORTMODULE','SELECT IMPORT MODULE' );
define ( '_MD_A_D3BLOG_LANG_APPROVAL_MANAGER','APPROVAL MANAGER' );
define ( '_MD_A_D3BLOG_LANG_APPROVAL_SUMMARY','A LIST UN-APPROVED ENTRIES AND TRACKBACKS' );
define ( '_MD_A_D3BLOG_LANG_BLOG_TITLE','BLOG TITLE' );
define ( '_MD_A_D3BLOG_LANG_CREATE_DATE','POST DATE' );
define ( '_MD_A_D3BLOG_LANG_BLOG_NAME_INBOUND','INBOUND TRACKBACK BLOG NAME' );
define ( '_MD_A_D3BLOG_LANG_BLOG_EXCERPT_INBOUND','EXCERPT' );
define ( '_MD_A_D3BLOG_LANG_TRACKBACK_DATE_INBOUND','INBOUND TRACKBACK DATE' );
define ( '_MD_A_D3BLOG_LANG_APPROVAL_TYPE_COMMENT','COMMENT' );
define ( '_MD_A_D3BLOG_LANG_APPROVAL_TYPE_TRACKBACK','TRACKBACK' );
define ( '_MD_A_D3BLOG_LANG_COMMENTS','COMMENT/EXCERPT' );
define ( '_MD_A_D3BLOG_LANG_COMMENT_DATE','COMMENT DATE' );
define ( '_MD_A_D3BLOG_LANG_APPROVAL','APPROVAL' );
define ( '_MD_A_D3BLOG_LANG_TEMPLATE_NAME','TEMPLATE NAME' );
define ( '_MD_A_D3BLOG_LANG_TEMPLATE_TYPE','TEMPLATE TYPE' );
define ( '_MD_A_D3BLOG_LANG_TEMPLATE_FILE','TEMPLATE FILE' );
define ( '_MD_A_D3BLOG_LANG_CSS_FILE','CSS FILE' );
define ( '_MD_A_D3BLOG_LANG_WRITE_CSS_FILE','WRITE CSS FILE' );

// <--- MESSAGE PROPERTY --->
define ( '_MD_A_D3BLOG_MESSAGE_DBUPDATE_SUCCESS','DB UPDATE DONE SUCCESSFULLY.' );
define ( '_MD_A_D3BLOG_MESSAGE_DBUPDATE_FAILED','ERROR OCCURED WHILE DB UPDATING.' );
define ( '_MD_A_D3BLOG_MESSAGE_DELETE_SUCCESSED','DELETED %s.' );
define ( '_MD_A_D3BLOG_MESSAGE_DELETE_FAILED','FAILED TO DELETE %s.' );
define ( '_MD_A_D3BLOG_MESSAGE_IMPORTDONE','IMPORTING WAS SUCCESSFULLY DONE.' );
define ( '_MD_A_D3BLOG_MESSAGE_MIGHT_REWRITE_LINKPATH','</br />REMEMBER TO RE-WRITE LINK PATHS IN CONTENTS BODY.' );
define ( '_MD_A_D3BLOG_MESSAGE_DB_UPDATE_SUCCESS','UPDATED %s SUCCESSFULLY.' );
define ( '_MD_A_D3BLOG_MESSAGE_DB_DELETE_SUCCESS','DELETED %s SUCCESSFULLY' );
define ( '_MD_A_D3BLOG_MESSAGE_DB_UPDATE_FAILED','FAILED TO UPDATE %s.' );
define ( '_MD_A_D3BLOG_MESSAGE_DB_DELETE_FAILED','FAILED TO DELETE %s.' );
define ( '_MD_A_D3BLOG_MESSAGE_ARE_YOU_SURE_TO_OVERWRITE_CSSFILE','ARE YOU SURE TO OVERWRITE CSSFILE' );
define ( '_MD_A_D3BLOG_MESSAGE_CANNOT_OPEN_CSS_DIR','FAILED OPENING THE DIRECTORY %s.' );
define ( '_MD_A_D3BLOG_MESSAGE_CANNOT_WRITE_CSS_DIR','FAILED OPENING THE DIRECTORY %s WITH WRITE PERMISSION.' );
define ( '_MD_A_D3BLOG_MESSAGE_CANNOT_WRITE_CSS_FILE','STYLE SHEET %s DOES NOT HAVE A WRITABLE PRIVILEGE.' ); 
define ( '_MD_A_D3BLOG_MESSAGE_NOT_CSS_FILE','%s IS NOT A CSS FILE. DELETE THIS FILE.' ); 
define ( '_MD_A_D3BLOG_MESSAGE_YOU_MUST_PREPARE_CSS_DIRECTORY','INVALID OPERATION. CHECK AND PREPARE CSS DIRECTORY.' ); 
define ( '_MD_A_D3BLOG_MESSAGE_CSS_FILES_SUCCESSFULLY_WRITTEN','CSS FILES SUCCESSFULLY WRITTEN' );

// <--- ERROR PROPERTY --->
define ( '_MD_A_D3BLOG_ERROR_WRONG_PID','YOU CHOICED A WRONG PARENT CATEGORY (OR DB CORAPSED).' );
define ( '_MD_A_D3BLOG_ERROR_NAME_REQUIRED','CATEGORY NAME IS REQUIRED.' );
define ( '_MD_A_D3BLOG_ERROR_NAME_SIZEOVER','A CATEGORY NAME LENGTH IS LONGER THAN %s.' );
define ( '_MD_A_D3BLOG_ERROR_WRONG_IMGURL','IMAGE URL\'S FORMAT IS ILLEGAL.' );
define ( '_MD_A_D3BLOG_ERROR_NO_SUCH_CATEGORY','NO SUCH A CATEGORY.' );
define ( '_MD_A_D3BLOG_ERROR_INVALIDMID', 'WRONG MID. NO SUCH A MODULE.');
define ( '_MD_A_D3BLOG_ERROR_SQLONIMPORT', 'DB ACCESS(SQL) ERROR OCCURED.');
define ( '_MD_A_D3BLOG_ERROR_NO_SUCH_TEMPLATE_SET','INVALID TEMPLATE SET.' );
define ( '_MD_A_D3BLOG_ERROR_NO_SUCH_TEMPLATE_FILE','%s IS AN INVALID TEMPLATE FILE' );

// <--- FORMAT PROPERTY --->
define ( '_MD_A_D3BLOG_FORMAT_CSS_DIRECTORY','CSS DIRECTORY IS %s.' );

// <--- PERMDESC PROPERTY --->
define ( '_MD_A_D3BLOG_PERMDESC_CAN_VIEW_BLOG','CAN_VIEW' );
define ( '_MD_A_D3BLOG_PERMDESC_CAN_EDIT_BLOG','CAN_EDIT' );
define ( '_MD_A_D3BLOG_PERMDESC_CAN_APPROVE_BLOG_SELF','APPROVE BY SELF' );
define ( '_MD_A_D3BLOG_PERMDESC_ALLOW_HTML','HTML ALLOWED' );
define ( '_MD_A_D3BLOG_PERMDESC_EDITOR','EDITOR' );

$xoopsModule =& XoopsModule::getByDirname($mydirname);
define ( '_MD_A_D3BLOG_CONFIG', $xoopsModule->getVar('name').'CONFIGURATION');
define ( '_MD_A_D3BLOG_PREFERENCES', _PREFERENCES);
define ( '_MD_A_D3BLOG_PREFERENCESDSC', 'CONFIGURE MODULE GLOBAL PREFERENCES');
define ( '_MD_A_D3BLOG_GO', _GO);
define ( '_MD_A_D3BLOG_CANCEL', _CANCEL);
define ( '_MD_A_D3BLOG_DELETE', _DELETE);
define ( '_MD_A_D3BLOG_MODIFY', 'MODIFY');
define ( '_MD_A_D3BLOG_TITLE', 'TITLE');

// <--- STRUCTURE PROPERTY --->
define ( '_MD_A_D3BLOG_H2_IMPORTFROM', 'IMPORT MANAGER');
define ( '_MD_A_D3BLOG_H3_IMPORTDATABASE', 'COPY DATABASE TABLE');
define ( '_MD_A_D3BLOG_H3_IMPORTCOM', 'IMPORT COMMENTS AND EVENT NOTIFICATIONS');
define ( '_MD_A_D3BLOG_H3_SYNCHRONIZE', 'RE-CALCULATE COMMENTS AND TRACKBACKS COUNT');
define ( '_MD_A_D3BLOG_LABEL_SELECTMODULE', 'MODULES IMPORTABLE');
define ( '_MD_A_D3BLOG_LABEL_SELECTDIRECTORY', 'DIRECTORY IMPORTABLE');
define ( '_MD_A_D3BLOG_LANG_SELECT_IMPORTMODULE', 'SELECT INPORT MODULE');
define ( '_MD_A_D3BLOG_BTN_DOIMPORT', 'START TO IMPORT');
define ( '_MD_A_D3BLOG_BTN_DOSYNCHRONIZE', 'START TO RE-CALCULATE');
define ( '_MD_A_D3BLOG_CONFIRM_DOIMPORT', 'ARE YOU SURE TO IMPORT DATABASE TABLE?');
define ( '_MD_A_D3BLOG_CONFIRM_DOCOMIMPORT', 'ARE YOU SURE TO IMPORT COMMENTS AND NOTIFICATONS ?');
define ( '_MD_A_D3BLOG_CONFIRM_DOSYNCHRONIZE', 'ARE YOU SURE TO RE-CALCULATE ?');
define ( '_MD_A_D3BLOG_HELP_IMPORTFROM', '<p>TABLE DATA ARE <strong>COPIED</strong> FROM IMPORTABLE MODULE. IMPORTABLE MODULE\'S TABLE DATA ARE KEPT UNTIL UNISTALL.</p>'.
    '<p><strong style="padding-right:1em">NOTICE </strong>CONFIGURATIONS OF BLOCKS, TEMPLATES AND MODULE PREFERENCES ARE NOT IMPORTED.</p>');
define('_MD_A_D3BLOG_HELP_COMIMPORT', '<p>COMMENTS AND EVENT NOTIFICATIONS CONFIGS ARE MOVED TO THIS MODULE.</p>'.
    '<p><strong style="padding-right:1em">NOTICE </strong>RE-CALCULATE BOTH THIS MODULE AND EXPORT MODULES.</p>');
define('_MD_A_D3BLOG_HELP_SYNCHRONIZE', '<p>RE-CALCULATE COMMENTS AND TRACKBACKS INBOUND.</p>'.
    '<p><strong style="padding-right:1em">NOTICE </strong>HIGHLY RECOMMENDED WHEN DATABASE EDITTED BY phpMyAdmin etc.</p>');
define ( '_MD_A_D3BLOG_H2_CSSMANAGER','H2 CSSMANAGER' );
define ( '_MD_A_D3BLOG_H3_WRITE_CSSFILE','H3 WRITE CSSFILE' );
define ( '_MD_A_D3BLOG_HELP_CSSMANAGER', '<p>You can overwrite css files from the templates. Check the right templates and click "WRITE CSS FILE".</p>'.
    '<p><strong style="padding-right:1em">NOTICE</strong>The templates of the current template set are automatically checked if younger than the css files.</p>');

?>